//
//  PrescriptionOrderPatientInfoPayCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2020/3/3.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class PrescriptionOrderPatientInfoPayCell: UITableViewCell {
    
    func bind(to viewModel: PrescriptionOrderDetailCellViewModel) {
        nameLabel.text = viewModel.patientName
        sexAgeLabel.text = viewModel.patientSexAndAge
        medicalIdLabel.text = viewModel.medicalId
        diagnoseLabel.text = viewModel.mainDiagnoseResult
        adviceLabel.text = viewModel.diagnoseAdvice
    }
    
    @IBOutlet private weak var nameLabel: UILabel!
    
    @IBOutlet private weak var sexAgeLabel: UILabel!
    
    @IBOutlet private weak var medicalIdLabel: UILabel!
    
    @IBOutlet private weak var diagnoseLabel: UILabel!
    
    @IBOutlet private weak var adviceLabel: UILabel!
    
}
